package com.huabo.system.service.impl;

import com.huabo.system.mysql.entity.TblRiskeventMySql;
import com.huabo.system.mysql.mapper.TblRiskeventMySqlMapper;
import com.huabo.system.oracle.entity.TblRiskevent;
import com.huabo.system.oracle.mapper.TblRiskeventMapper;
import com.huabo.system.service.TblRiskeventService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TblRiskeventServiceImpl implements TblRiskeventService {

    @Resource
    private TblRiskeventMapper tblRiskeventMapper;

    @Resource
    private TblRiskeventMySqlMapper tblRiskeventMySqlMapper;


    @Override
    public void saveTblRiskevent(TblRiskevent tblRiskevent) {
        tblRiskeventMapper.insertSelective(tblRiskevent);
    }

    @Override
    public void saveMySqlTblRiskevent(TblRiskeventMySql tblRiskeventMySql) {
        tblRiskeventMySqlMapper.insertSelective(tblRiskeventMySql);
    }
}
